﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BLL.Model
{

    /// <summary>
    /// Attachment:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class Attachment
    {
        public Attachment()
        { }
        #region Model
        private Guid _attguid;
        private string _reftable;
        private string _refkey;
        private string _atttitle;
        private string _atttype;
        private DateTime? _createddatetime;
        private string _filepath;
        private string _fileexten;
        /// <summary>
        /// 
        /// </summary>
        public Guid attGuid
        {
            set { _attguid = value; }
            get { return _attguid; }
        }
        /// <summary>
        /// 关联到那个表
        /// </summary>
        public string refTable
        {
            set { _reftable = value; }
            get { return _reftable; }
        }
        /// <summary>
        /// 关联到那个主键
        /// </summary>
        public string refKey
        {
            set { _refkey = value; }
            get { return _refkey; }
        }
        /// <summary>
        /// 附件名称
        /// </summary>
        public string attTitle
        {
            set { _atttitle = value; }
            get { return _atttitle; }
        }
        /// <summary>
        /// 附件类型
        /// </summary>
        public string attType
        {
            set { _atttype = value; }
            get { return _atttype; }
        }
        /// <summary>
        /// 创建日期与时间
        /// </summary>
        public DateTime? createdDateTime
        {
            set { _createddatetime = value; }
            get { return _createddatetime; }
        }
        /// <summary>
        /// 附件地址
        /// </summary>
        public string filePath
        {
            set { _filepath = value; }
            get { return _filepath; }
        }
        /// <summary>
        /// 扩展名
        /// </summary>
        public string fileExten
        {
            set { _fileexten = value; }
            get { return _fileexten; }
        }
        #endregion Model

    }
}
